/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.cooperativa.dao;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.cooperativa.entities.Motorista;

/**
 *
 * @author giovanny
 */
@Stateless
public class MotoristaFacade extends AbstractFacade<Motorista> {
    @PersistenceContext(unitName = "CooperativaPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public MotoristaFacade() {
        super(Motorista.class);
    }
    
}
